package context

type UserAddressContext struct {
	PageNo   int32 `json:"pageNo" binding:"required" msg:"请输入分页"`
	PageSize int32 `json:"pageSize" binding:"required" msg:"请输入每页显示多少条"`
}

type UserAddressCreateContext struct {
	Id          uint64 `json:"id"`
	Province    string `json:"province" binding:"required" msg:"请输入省份"`
	City        string `json:"city" binding:"required" msg:"请输入城市"`
	District    string `json:"district" binding:"required" msg:"请输入区域"`
	DefaultFlag bool   `json:"defaultFlag" binding:"required" msg:"请输入默认状态"`
	Address     string `json:"address" binding:"required" msg:"请输入收货地址"`
	Username    string `json:"username" binding:"required" msg:"请输入收货姓名"`
	Mobile      string `json:"mobile" binding:"required" msg:"请输入收货手机"`
}

type UserAddressDeleteContext struct {
	Id uint64 `json:"id"`
}

type UserFavContext struct {
	PageNo   int32 `json:"pageNo" binding:"required" msg:"请输入分页"`
	PageSize int32 `json:"pageSize" binding:"required" msg:"请输入每页显示多少条"`
}

type UserFavSaveContext struct {
	GoodsId uint64 `json:"goodsId"`
}
